

package org.tools;


// Referenced classes of package org.tools:
//			RuleUtil

public class CircleAreaJudge
{

	private double cx;
	private double cy;
	private double r;

	public CircleAreaJudge(double x, double y, double r)
	{
		
			this.cx = x;
			this.cy = y;
			this.r = r;
		
	}

	public boolean isInArea(double x, double y)
	{
		return isInArea((new StringBuilder(String.valueOf(x))).toString(), (new StringBuilder(String.valueOf(y))).toString());
	}

	public boolean isInArea(String x, String y)
	{
		double dis = RuleUtil.computeLength(Double.parseDouble(x), Double.parseDouble(y), cx, cy);
		return dis < r;
	}

	public static void main(String args1[])
	{
	}
}
